package com.dongjiantong.user.model;

import com.dongjiantong.mybatis.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Table(name="role_app_user")
public class RoleAppUser extends BaseEntity {


    @Column(name="user_id")
    private Long userId;

    @Column(name="app_role")
    private Integer appRole;

    @Column(name="app_role_name")
    private String appRoleName;

    private Integer status;

    @Column(name="created_id")
    private Long createdId;

    @Column(name="created_at")
    private Date createdAt;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getAppRole() {
        return appRole;
    }

    public void setAppRole(Integer appRole) {
        this.appRole = appRole;
    }

    public String getAppRoleName() {
        return appRoleName;
    }

    public void setAppRoleName(String appRoleName) {
        this.appRoleName = appRoleName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }





}